package com.my.goodsmanage.entity;

import lombok.Data;

/**
 * @author 徐佳辉
 * @date 2020/9/1 15:06
 */
@Data
public class PageR extends R{
    private int code;

    private long count;

    public PageR() {
    }

    public PageR(boolean success, String msg, Object data, int code, long count) {
        super(success, msg, data);
        this.code = code;
        this.count = count;
    }

    public PageR(boolean success, String msg, int code, long count) {
        super(success, msg);
        this.code = code;
        this.count = count;
    }

    public PageR(boolean success, Object data, int code, long count) {
        super(success, data);
        this.code = code;
        this.count = count;
    }
}
